package com.songlanyun.modules.ad.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.ad.entity.AdLocationEntity;

import java.util.List;
import java.util.Map;

/**
 * 广告位表
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-11 13:55:19
 */
public interface AdLocationService extends IService<AdLocationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AdLocationEntity> select(Map<String, Object> params);

    /**
     * 根据广告位标识码查询广告位
     * @param markCode
     * @param isThrow
     * @return
     */
    AdLocationEntity getByMarkCode(String markCode, boolean isThrow);


    void delById(Integer id);
}

